package com.settlement.system.model.entity.common;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 爱库存-补款明细
 * @author Ximi
 * @since 2020-07-06
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblAkcAdditionalItemDetail extends BaseModel implements Serializable {


    /**
     * 店铺编码
     */
    @ExcelProperty(value = "店铺编码")
    @ApiModelProperty(value = "店铺编码")
    private String shopNo;

    /**
     * 店铺名称
     */
    @ExcelProperty(value = "店铺名称")
    @ApiModelProperty(value = "店铺名称")
    private String shopName;


    /**
     * 补款类型
     */
    @ExcelProperty(value = "交易类型")
    @ApiModelProperty(value = "交易类型")
    private String exchangeType;

    /**
     * 交易订单号
     */
    @ExcelProperty(value = "交易订单号")
    @ApiModelProperty(value = "交易订单号")
    private String exchangeOrderNo;

    /**
     * 来源
     */
    @ExcelProperty(value = "来源")
    @ApiModelProperty(value = "来源")
    private String source;

    /**
     * 交易时间
     */
    @ExcelProperty(value = "交易时间")
    @ApiModelProperty(value = "交易时间")
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date exchangeDate;

    /**
     * 交易金额
     */
    @ExcelProperty(value = "交易金额")
    @ApiModelProperty(value = "交易金额")
    private BigDecimal exchangeAmount;

    /**
     * 可用余额
     */
    @ExcelProperty(value = "可用余额")
    @ApiModelProperty(value = "可用余额")
    private BigDecimal availableBalance;

    /**
     * 提现日期
     */
    @ExcelProperty(value = "提现日期")
    @ApiModelProperty(value = "提现日期")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date extractMoneyDate;

}
